package com.github.pudding.service.impl;

import com.github.pudding.persistence.UserMapper;
import com.github.pudding.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public void delete(Integer id) {
        userMapper.deleteByPrimaryKey(id);
    }
}
